<!-- @format -->
<script setup>
	import { useRoute } from 'vue-router'
	// 获取当前激活的路由对象
	const route = useRoute()
</script>
<template>
	<div class="friend">
		<p>朋友</p>
		<p>朋友</p>
		<p>朋友...</p>
		<p>当前朋友 id = {{ route.params.fid }}</p>
	</div>
</template>

<style scoped></style>
